Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /* eslint func-names: 0 */ |
||
12 | describe('General', function () { |
||
13 | var projectRoot = path.resolve(__dirname, '..', '..'); |
||
14 | |||
15 | before(function () { |
||
16 | shell.cd(projectRoot); |
||
17 | }); |
||
18 | |||
19 | describe('build (requires project clean for valid testing)', function () { |
||
20 | this.timeout(30000); |
||
21 | |||
22 | it('should create a build directory at the project root', function () { |
||
23 | shell.exec('npm run build --silent', { |
||
24 | silent: true |
||
25 | }); |
||
26 | |||
27 | expect(path.join(projectRoot, 'build')).to.be.a.directory(); |
||
28 | }); |
||
29 | }); |
||
30 | }); |
||
31 |